package com.cmc.cloud.cmclink.doc.vo.voyagelock;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 航次锁船记录 Request VO
 * 
 * @author codegen
 */
@Schema(description = "管理后台 - 航次锁船记录 Request VO")
@Data
@ToString(callSuper = true)
public class VoyageLockImReqVO {

    @Schema(description = "blnoIds")
    @NotNull(message = "doinfo.blnoid.notnull")
    private String blnoIds;

    @Schema(description = "船舶代码")
    @NotBlank(message = "{voyagelock.portcode.notblank}")
    private String vesselCode;

    @Schema(description = "航次")
    @NotBlank(message = "{voyagelock.portcode.notblank}")
    private String voyage;

    @Schema(description = "港口代码")
    @NotBlank(message = "{voyagelock.portcode.notblank}")
    private String portCode;

}
